/* 登录页面特定样式 */

/* 登录方式切换 */
.login-method-tabs {
    display: flex;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.tab-button {
    flex: 1;
    padding: 12px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    color: #64748b;
}
/*[class*="tab-button active"] {*/
.tab-button.active {
    background: #3b82f6;
    color: white;
}
/*.tab-button:hover:not([class*="active"]) {*/
.tab-button:hover:not(.active) {
    background: #e2e8f0;
}

.login-form {
    display: block;
}

/* 手机登录方式切换 */
.phone-method-tabs {
    display: flex;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.phone-tab-button {
    flex: 1;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    color: #64748b;
    font-size: 14px;
}

.phone-tab-button.active {
    background: #3b82f6;
    color: white;
}

.phone-tab-button:hover:not(.active) {
    background: #e2e8f0;
}

.phone-login-method {
    display: block;
}

/* 手机号输入样式 */
.phone-input-wrapper {
    display: flex;
}

.phone-prefix {
    display: flex;
    align-items: center;
    padding: 0 12px;
    background: #f8fafc;
    border: 1px solid #d1d5db;
    border-right: none;
    border-radius: 8px 0 0 8px;
    color: #6b7280;
    font-weight: 500;
}

.phone-input-wrapper input {
    border-radius: 0 8px 8px 0;
}

/* 验证码输入样式 */
.verification-code-group {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.verification-input {
    flex: 1;
}

.send-code-btn {
    width: 120px;
    flex-shrink: 0;
    white-space: nowrap;
    padding: 12px;
}

/* 用户信息样式 */
.user-info {
    padding: 20px;
    text-align: center;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    background: #3b82f6;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
}

.logout-btn {
    background: #ef4444;
    margin-top: 15px;
}

.logout-btn:hover {
    background: #dc2626;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .verification-code-group {
        flex-direction: column;
    }
    
    .send-code-btn {
        width: 100%;
    }
}